import {Component, OnInit} from '@angular/core';

declare var wangEditor;


@Component({
    moduleId: module.id,
    selector: 'my-articleEditor',
    styleUrls: [''],
    templateUrl: 'articleEditor.component.html',

})

export class ArticleEditorComponent implements OnInit  {

    editor:any;

    ngOnInit(): void {
        this.editor = new wangEditor('editor');
    }
}